package com.android.demos.data.remote.http;

import com.aaron.android.framework.utils.EnvironmentUtils;

/**
 * 说明:
 * Author shaozucheng
 * Time:16/6/7 上午10:13
 */
public class UrlList {

    public static String HOST_VERSION = "/v1";
    public static String getVersionHostUrl() {
        return getHostUrl() + HOST_VERSION;
    }
    public static String getHostUrl() {
        return EnvironmentUtils.Config.getHttpRequestUrlHost();
    }

    /**基础配置*/
    public static final String BASE_CONFIG = getHostUrl() +  "/config/config";

    /**同步时间戳*/
    public static final String SYNC_SERVER_TIMESTAMP = getHostUrl() +  "/time/timestamp";
    /**获取首页课程列表*/
    public static final String GET_COURSE_CATEGORY_LIST = getVersionHostUrl() + "/course/course";
    /**获取课表*/
    public static final String COURSE_COURSE_SCHEDULE = getVersionHostUrl() +  "/course/course-schedule";
    /**课程详情*/
    public static final String COURSE_DETAILS = getVersionHostUrl() +  "/course/course-detail";
    /**检测更新*/
    public static final String APP_UPDATE = getHostUrl() +  "/config/config";
    /**获取用户信息*/
    public static final String GET_USER_INFO = getVersionHostUrl() +  "/user/info";



}
